/*==common mod==*/
body, #page, #content {
    position: relative;
    height: 100%;
}

.hidden{
    display: none;
    visibility: hidden;
}

a, a:active, a:link {
    text-decoration: none;
}

.layout{
    padding-top: 46px;
    background-color: #fff;
}
#header {
    position: fixed;
    top:0;
    width: 100%;
    height: 45px;
    overflow: hidden;
    text-align: center;
    color: #555;
    border-bottom: 1px solid #ccc;
    background-color: #fff;
    z-index: 2;
}

#header .title {
    display: block;
    font-size: 17px;
    line-height: 2.8em;
}


.bar-btn {
    display: block;
    width: 60px;
    height: 45px;
    background-position: center center;
    background-repeat: no-repeat;
}

.blank-btn{
    background-color: transparent;
}

.menu-btn {
    background-size: 22px 15px;
    background-image: url(images/icon-menu.png);
}
.menu-b-btn {
    background-size: 22px 15px;
    background-image: url(images/icon-b-menu.png);
}

.attention-btn {
    background-size: 25px 20px;
    background-image: url(images/icon-attention.png);
}

.attention-b-btn {
    background-size: 25px 20px;
    background-image: url(images/icon-b-attention.png);
}

.back-btn {
    background-size: 12px 21px;
    background-image: url(images/icon-back.png);
}
.back-b-btn{
    background-size: 12px 21px;
    background-image: url(images/icon-b-back.png);
}

.add-btn {
    background-size: 20px 20px;
    background-image: url(images/icon-add.png);
}


.text-btn{
    color: #555;
    font-size: 16px;
    line-height: 2.9em;
}

.has-new {
    position: relative;
}

.new-icon {
    display: none;
    position: absolute;
    top: 10px;
    right: 13px;
}

.has-new .new-icon {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #ff4b4b;
}



/*=dialog=*/
.ks-overlay {
    position:absolute;
    left:-9999px;
    top:-9999px;
    z-index: 9999;
}
.ks-overlay-hidden {
    visibility: hidden;
}

.ks-overlay-mask-hidden {
    display: none;
}

.ks-overlay-shown {
    visibility: visible;
}

.ks-overlay-mask-shown{
    display: block;
}

.ks-dialog-close{
    display: block;
    position: absolute;
    right:10px;
    top:10px;
    width: 10px;
    height: 0;
    padding-top: 10px;
    overflow: hidden;
    background: url(images/icon-closed.png) no-repeat;
    background-size: 10px 10px;
    z-index: 10;
}
.ks-overlay-mask{
    background-color: rgba(0,0,0,0.6);
    z-index: 999;
}


input.text,button{
    font-family: "microsoft yahei","Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
}


.num{
    font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
}


/*= 大个按钮=*/
.sub-big-Button{
    display: block;
    margin: 0 auto;
    width: 200px;
    line-height:42px;
    color: #fff;
    font-size: 14px;
    text-align: center;
    background-color: #ff4b4b;
    border-radius: 3px;
}
button.sub-big-Button{
    border: 0 none;
    outline: none;
}
.sub-big-Button:active{
    background:rgba(255,75,75,0.8);
}

button.disabled{
    background-color: #bbb;
}

.need-login-mask{
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(225,225,225,0.6);
}